]> dgit.raspbian.org Git - gnome-shell.git/commit
runDialog: Use ClutterText::activate for enter handling
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 15 Aug 2018 13:39:58 +0000 (15:39 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 17 Aug 2018 18:37:32 +0000 (18:37 +0000)
commit3ab9e9e8adfb2093ade470c26ecb761dde89fe49
tree9642a1bb2bbf052d4615bc4e911df88957d2b306
parentdd59212d3f1d8617a6eb5989c9974846f4abf771
runDialog: Use ClutterText::activate for enter handling

Instead of consuming the event in front of the input method. Enter
is sometimes overriden by those, so it seems better to let the IM
handle the key event, and react later to it if it got propagated
anyway. That is what ::activate does, so use this signal.

This used to work before ClutterInputMethod/InputFocus because the
IM received the events directly from stage captured events. This
is not the case anymore.

Closes: #440
js/ui/runDialog.js